<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="/WEB-INF/view/common/talent-header.jspf" %>
   <link rel="stylesheet" href="<%=request.getContextPath()%>/static/talent/styles/login.css" />
	 	<div class="container">
	 	  <c:if test="${! empty msg }">
			<div class="alert alert-warning alert-dismissible fade in" role="alert">
			   <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
			   <strong>${msg }</strong>
			</div>
	 	  </c:if>
	      <form class="form-signin" role="form" action="<%=request.getContextPath() %>/TalentServlet?command=login" method="post" >
	        <h2 class="form-signin-heading">Please sign in</h2>
	        <input type="text" class="form-control" autofocus name="code" id="code">
	        <input type="password" class="form-control" name="password">
	        
	          <div class="form-group">
		         <input type="text" name="validateCode" style="width:100px;height:35px;font-size: 18px" maxlength="4" autocomplete="off">
		         <img src="<%=request.getContextPath()%>/kaptcha.jpg" alt="验证码" name="checkImg" id="checkImg" style="width:90px;height:30px" onClick="document.getElementById('checkImg').src='kaptcha.jpg?temp='+ (new Date().getTime().toString(36)); return false"/>
	         </div>
	         
	        <a href="<%=request.getContextPath()%>/ForgetPwdServlet?command=toInputEmailUI&userType=talent">忘了密码？</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	        	 没有帐号？<a href="<%=request.getContextPath()%>/TalentServlet?command=toRegisterUI">注册</a>
	        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
	      </form>
	    </div>
	    
	<%@ include file="/WEB-INF/view/common/footer.jspf"%>
